package com.woniu.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class WareCation implements Serializable {

    @ApiModelProperty(value = "菜单ID")
    private Integer id ;// 菜单ID
    @ApiModelProperty(value = "菜单名")
    private String cationName ;//  菜单名
    @ApiModelProperty(value = "菜单父ID")
    private Integer fid  ;// 菜单父ID
    @ApiModelProperty(value = "子菜单集合")
    List<WareCation> wares;// 子菜单
}
